Repository navigation
Plugin: consumer iOS wiring (Python.xcframework + stdlib staging) (#90) - #320
Merged
Merged
Conversation
…ework and stdlib staging (#90) On a module with Kotlin/Native iOS targets the plugin registers downloadPython_ios (the pinned iOS support archive, into the consumer's build/ only, verified against a SHA-256 baked in from python-checksums.properties; a mismatch fails the build), preparePythonXcframework (Sync into build/xcode-frameworks plus -framework Python -F<slice> on every iOS framework binary and the link dependency; pythonBindings { ios { linkPythonFramework.set(false) } } turns it off), stageIosPythonHome_<slice> / stageIosPythonHome / stageIosPythonHomeForXcode (the library's names and stdout contract), and installPythonXcodeScript (install-python.sh with the consumer's task baked in). fixtures/ios-consumer builds a simulator app from the plugin alone and probes stdlib, an extension module and the payload from the bundle.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #90 (part 1: plugin and consumer fixture. Switching sample/ and removing the library-side duplicates is a follow-up PR, as the leader allowed.)
Approved design, DSL (A):
Evidence (python-multiplatform-gradle-plugin/fixtures/ios-consumer, plugin only):
Found on the way: the KSP processor emits an unresolved reference for a root-package function. That is #319; the fixture uses a package.